﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
///CssControler 的摘要说明
/// </summary>
public class CssControler
{
	public CssControler()
	{
		//
		//TODO: 在此处添加构造函数逻辑
		//


	}

    public static String GetCssFileNameByHost( string HostName ){

        if (string.IsNullOrEmpty(HostName)) { return string.Empty; }
        if (HostName.IndexOf("ilenor") >= 0)
        {
            return "./Resource/style.css";
        }
        else if (HostName.IndexOf("97zg") >= 0)
        {
            return "./Resource/common.css";
        }
        else if (HostName.IndexOf("wap.as117.com") >= 0)
        {
            return "./Resource/mobilestyle.css";
        }
        else 
        {
            return "./Resource/common.css"; 
        }
      
        return string.Empty;

    }

}